package com.sjb.cp.api.aliyun.model;

import cn.hutool.core.annotation.Alias;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author:sjb
 * @CreateTime:2025-02-11
 * @Description: 创建AI编辑图片响应
 * @Version：1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CreateOutPaintingTaskResponse implements Serializable {

    private String requestId;

    private Output output;

    @Data
    private static class Output{
        /**
         * PENDING：排队中
         * RUNNING：处理中
         * SUSPENDED：挂起
         * SUCCEEDED：执行成功
         * FAILED：执行失败
         * UNKNOWN：任务不存在或状态未知
         */
        private String taskStatus;
        private String taskId;
    }

    private String code;

    private String message;

    private static final long serialVersionUID = 1L;
}
